package com.yuju.login.dao.mapper;

import com.yuju.login.dao.entity.OpHotel;
import com.yuju.persist.base.mapper.BaseMapper;
import java.util.List;
import java.util.Map;

public interface OpHotelMapper extends BaseMapper<OpHotel, String> {
    int deleteByPrimaryKey(String id);

    int selectCountByMap(Map<Object, Object> map);

    List<OpHotel> selectListByMap(Map<Object, Object> map);

    int insert(OpHotel record);

    int insertSelective(OpHotel record);

    OpHotel selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(OpHotel record);

    int updateByPrimaryKey(OpHotel record);
    
    List<OpHotel> hotelListByOpId(String opId);
}